package com.spring.event;


import org.springframework.context.ApplicationEvent;

/**
 * ClassName: EventBean
 * Description: 自定义事件
 * Date: 2017/5/11 20:19
 *
 * @author SAM SHO
 * @version V1.0
 */
public class EventBean extends ApplicationEvent {

    private String msg;

    public EventBean(Object source, String msg) {
        super(source);
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
